lcShapeGetPrevEnt Home

Returns a handle to the entity which is placed before the specified entity in a shape.

 HANDLE lcShapeGetPrevEnt (
   HANDLE hShape,
   HANDLE hEnt
 );

Parameters
hShape
  Handle to a shape object.
hEnt
  Handle to an entity. The entity must be a part of the shape.

Return Value

  Handle to the entity which is placed before hEnt in the shape. If there are no entities before hEnt, the function returns NULL.

See Also

  lcShapeGetFirstEntlcShapeGetNextEntlcShapeGetLastEnt

Code sample